package factoryPattern.simple;

public class Test {

    public static void main(String[] args) {
        Shape rectShape = ShapeFactory.getShape("rect");
        rectShape.draw();

        Shape circleShape = ShapeFactory.getShape("circle");
        circleShape.draw();

        Shape tangleShape = ShapeFactory.getShape("tangle");
        tangleShape.draw();

    }
    
}